
package com.erp.app.catalog.itemMaster.pk;

import com.erp.framework.model.pk.SimpleSearchMaintStylePk;

public class ItemMasterPk extends SimpleSearchMaintStylePk {
	
	public String itemId;

	public ItemMasterPk( String itemId) {        
        this.itemId = itemId;
	}

	public int hashCode() {
		return (this.itemId).hashCode();
	}

	public boolean equals(Object obj) {
		if (obj instanceof ItemMasterPk) {
			ItemMasterPk pk2 = (ItemMasterPk) obj;
			return (this.itemId != null && this.itemId.equals(pk2.itemId));			
		}
		return false;
	}
	
	public String toString() {
		return "{itemId = " + this.itemId + "}";		
	}
	
	public String getItemId() {
		return itemId;
	}
}
